package com.dkd.manage.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 合作商管理对象 tb_partner
 *
 * @author XWQ
 * @date 2024-09-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
@ApiModel(description = "合作商管理对象")
public class Partner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty(value = "主键id", example = "1")
    private Long id;

    /** 合作商名称 */
    @ApiModelProperty(value = "合作商名称")
    @Excel(name = "合作商名称")
    private String partnerName;

    /** 联系人 */
    @ApiModelProperty(value = "联系人")
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @ApiModelProperty(value = "联系电话")
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 分成比例 */
    @ApiModelProperty(value = "分成比例")
    @Excel(name = "分成比例")
    private Long profitRatio;

    /** 账号 */
    @ApiModelProperty(value = "账号")
    @Excel(name = "账号")
    private String account;

    /** 密码 */
    @ApiModelProperty(value = "密码")
    private String password;
}
